package com.dragon.annotation;

/**
 * 数据库列
 *
 * @author dragon
 * @since 2019/11/12
 */
public class EntityColumn {

    private String name;

    private String columnDefinition;

    private Boolean nullable;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getColumnDefinition() {
        return columnDefinition;
    }

    public void setColumnDefinition(String columnDefinition) {
        this.columnDefinition = columnDefinition;
    }

    public Boolean getNullable() {
        return nullable;
    }

    public void setNullable(Boolean nullable) {
        this.nullable = nullable;
    }

    @Override
    public String toString() {
        return "EntityColumn{" +
                "name='" + name + '\'' +
                ", columnDefinition='" + columnDefinition + '\'' +
                ", nullable=" + nullable +
                '}';
    }
}
